﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects.DataClasses;

namespace SIMCRepositorio
{
    public interface IDatabase : IDisposable
    {
        void Insertar<TEntity>(TEntity entity)
            where TEntity : EntityObject;

        void Modificar<TEntity>(TEntity entity)
            where TEntity : EntityObject;

        void Eliminar<TEntity>(TEntity entity)
            where TEntity : EntityObject;
    }
}
